package com.qdu.service;

import java.util.List;

import com.qdu.entity.Assess;

public interface AssessService {

	String getAssessBySrollnoAndTermId(String srollno, int termId);

	Assess getOneAssessById(String assessId);

	Assess getOneAssessByTeacherId(String tid);

	Assess getOneAssessByThreeId(String tid, String cid, int termId);

	Assess getOneAssessByTidAndTermId(String tid, int termId);
	
	List<Assess> getAllAssess();

	boolean addAssess(String tid, String cid, int termId, int assessResult, String srollno);

	boolean modifyAssess(Assess assess, String tid, String cid, int termId, String srollno);

	boolean deleteAssessById(String assessId);

}
